﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
using System.Diagnostics;
using DslModeling=global::Microsoft.VisualStudio.Modeling;
using DslDiagrams=global::Microsoft.VisualStudio.Modeling.Diagrams;
using DslValidation=global::Microsoft.VisualStudio.Modeling.Validation;

namespace Salamanca.Sdml
{

    partial class MultipleAssociationRole
    {

        public string GetRoleName()
        {
            return string.IsNullOrEmpty(RoleName) ? Type.Name : RoleName;
        }
    }

}
